import useDictStore from "@/stores/modules/dict";

/**
 * 获取字典数据
 */
export function useDict(key: string) {
  // console.log(useDictStore);
  return useDictStore().getDict(key);
}

//性别
export const genderType = [
  { label: "男", value: 1 },
  { label: "女", value: 2 },
];

/**
 * @description：用户状态
 */
export const userStatus = [
  { label: "启用", value: 1, tagType: "success" },
  { label: "禁用", value: 0, tagType: "danger" },
];
